﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WS.EKA.Model;

namespace WS.EKA.ServiceInterface
{
    public interface IOrder
    {
        List<Order> GetOrderByMember(string loginId);

        Order GetOrderByCode(string orderCode);

        void Add(Order order);

        void Update(Order order);

        Order CaculatePrice(Order order);

        List<string> GetInvoiceTaxType();

        decimal GetDispatchPrice(Order order);
        decimal GetInsurePrice(Order order);
        decimal GetAdvancePayment(string memLoginID);
        decimal GetPackFee(Guid packGuid, decimal totalPrice);
        decimal GetBlessCardFee(Guid blessCardGuid, decimal totalPrice);
        decimal GetFavourTicket(Order order);
        decimal GetScores(Order order);
        decimal GetTax(Order order, decimal allProductPrice);
        decimal GetPayment(Guid paymentGuid, decimal allProductPrice);

    }
}
